package com.zsy.dao.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhaoshouyun
 * @since 2020-04-10
 */
@TableName("AOS_RMS_USER")
public class AosRmsUser extends Model<AosRmsUser> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("CGUID")
    private String cguid;

    /**
     * 用户账号
     */
    @TableField("CCODE")
    private String ccode;

    /**
     * 用户密码
     */
    @TableField("CPWD")
    private String cpwd;

    /**
     * 真实姓名
     */
    @TableField("CNAME")
    private String cname;

    /**
     * 用户唯一标识
     */
    @TableField("CIDENTITY")
    private String cidentity;

    /**
     * 关联职员id
     */
    @TableField("CEMP")
    private String cemp;

    /**
     * 所属管理组织id
     */
    @TableField("CADMINORGNID")
    private String cadminorgnid;

    /**
     * 是否可用(1为可用，0为不可用)
     */
    @TableField("ISTATUS")
    private BigDecimal istatus;

    /**
     * 用户类型
     */
    @TableField("CUSERTYPE")
    private String cusertype;

    /**
     * 密码类型
     */
    @TableField("CPWDTYPE")
    private String cpwdtype;

    /**
     * 账号生效日期
     */
    @TableField("CNAMESTARTDATE")
    private String cnamestartdate;

    /**
     * 账号失效日期
     */
    @TableField("CNAMEENDDATE")
    private String cnameenddate;

    /**
     * 密码生效日
     */
    @TableField("CPWDSTARTDATE")
    private String cpwdstartdate;

    /**
     * 密码失效日期
     */
    @TableField("CPWDENDDATE")
    private String cpwdenddate;

    /**
     * 是否允许多人同时登录
     */
    @TableField("ICONCURRENT")
    private BigDecimal iconcurrent;

    /**
     * 登录认证方式
     */
    @TableField("CAUTHTYPE")
    private String cauthtype;

    /**
     * 是否需要修改密码(1为是0为否)
     */
    @TableField("ICHANGEPWD")
    private BigDecimal ichangepwd;

    /**
     * 上一次登陆系统时间
     */
    @TableField("LASTLOGINDATE")
    private String lastlogindate;

    /**
     * 时间戳
     */
    @TableField("CTIMESTAMP")
    private String ctimestamp;

    public String getCguid() {
        return cguid;
    }

    public void setCguid(String cguid) {
        this.cguid = cguid;
    }
    public String getCcode() {
        return ccode;
    }

    public void setCcode(String ccode) {
        this.ccode = ccode;
    }
    public String getCpwd() {
        return cpwd;
    }

    public void setCpwd(String cpwd) {
        this.cpwd = cpwd;
    }
    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }
    public String getCidentity() {
        return cidentity;
    }

    public void setCidentity(String cidentity) {
        this.cidentity = cidentity;
    }
    public String getCemp() {
        return cemp;
    }

    public void setCemp(String cemp) {
        this.cemp = cemp;
    }
    public String getCadminorgnid() {
        return cadminorgnid;
    }

    public void setCadminorgnid(String cadminorgnid) {
        this.cadminorgnid = cadminorgnid;
    }
    public BigDecimal getIstatus() {
        return istatus;
    }

    public void setIstatus(BigDecimal istatus) {
        this.istatus = istatus;
    }
    public String getCusertype() {
        return cusertype;
    }

    public void setCusertype(String cusertype) {
        this.cusertype = cusertype;
    }
    public String getCpwdtype() {
        return cpwdtype;
    }

    public void setCpwdtype(String cpwdtype) {
        this.cpwdtype = cpwdtype;
    }
    public String getCnamestartdate() {
        return cnamestartdate;
    }

    public void setCnamestartdate(String cnamestartdate) {
        this.cnamestartdate = cnamestartdate;
    }
    public String getCnameenddate() {
        return cnameenddate;
    }

    public void setCnameenddate(String cnameenddate) {
        this.cnameenddate = cnameenddate;
    }
    public String getCpwdstartdate() {
        return cpwdstartdate;
    }

    public void setCpwdstartdate(String cpwdstartdate) {
        this.cpwdstartdate = cpwdstartdate;
    }
    public String getCpwdenddate() {
        return cpwdenddate;
    }

    public void setCpwdenddate(String cpwdenddate) {
        this.cpwdenddate = cpwdenddate;
    }
    public BigDecimal getIconcurrent() {
        return iconcurrent;
    }

    public void setIconcurrent(BigDecimal iconcurrent) {
        this.iconcurrent = iconcurrent;
    }
    public String getCauthtype() {
        return cauthtype;
    }

    public void setCauthtype(String cauthtype) {
        this.cauthtype = cauthtype;
    }
    public BigDecimal getIchangepwd() {
        return ichangepwd;
    }

    public void setIchangepwd(BigDecimal ichangepwd) {
        this.ichangepwd = ichangepwd;
    }
    public String getLastlogindate() {
        return lastlogindate;
    }

    public void setLastlogindate(String lastlogindate) {
        this.lastlogindate = lastlogindate;
    }
    public String getCtimestamp() {
        return ctimestamp;
    }

    public void setCtimestamp(String ctimestamp) {
        this.ctimestamp = ctimestamp;
    }

    @Override
    protected Serializable pkVal() {
        return this.cguid;
    }

    @Override
    public String toString() {
        return "AosRmsUser{" +
            "cguid=" + cguid +
            ", ccode=" + ccode +
            ", cpwd=" + cpwd +
            ", cname=" + cname +
            ", cidentity=" + cidentity +
            ", cemp=" + cemp +
            ", cadminorgnid=" + cadminorgnid +
            ", istatus=" + istatus +
            ", cusertype=" + cusertype +
            ", cpwdtype=" + cpwdtype +
            ", cnamestartdate=" + cnamestartdate +
            ", cnameenddate=" + cnameenddate +
            ", cpwdstartdate=" + cpwdstartdate +
            ", cpwdenddate=" + cpwdenddate +
            ", iconcurrent=" + iconcurrent +
            ", cauthtype=" + cauthtype +
            ", ichangepwd=" + ichangepwd +
            ", lastlogindate=" + lastlogindate +
            ", ctimestamp=" + ctimestamp +
        "}";
    }
}
